package com.fintech.third.service.message;

import java.util.List;
import java.util.Map;

import com.fintech.third.model.facesign.JsonResult;
import com.fintech.third.model.message.MessageInfoPageConditionDto;
import com.fintech.third.model.message.PushMessageInfo;
import com.fintech.third.service.PushDefineBatchSend;


/**
 * 推送面签消息
 * @author tangpw
 *
 */
public interface PushFaceSigService {
	
	/**
	 * 推送视频面签
	 * @param appointmentId
	 * @return
	 */
	public JsonResult<String> pushFacePush(Map<String, String> map);
	
	
	/**
	 * 批量插入消息推送
	 * @param list
	 * @return
	 */
	public Boolean insertTimingPush(List<PushMessageInfo> list);
	
	
	
	/**
	 * 自定义模板批量推送
	 * @param list
	 * @return
	 */
	public Boolean  pushSendDefineTemplate(final List<PushDefineBatchSend> list);
	
	
	
	/**
	 * 消息分页
	 * @param userId
	 * @param messageCategory
	 * @return
	 */
	public List<PushMessageInfo>  pushMessageInfoPage(MessageInfoPageConditionDto messageInfoPageConditionDto);
	
	
	
	/**
	 * 查询用户所有消息条数
	 * @param userId
	 * @return
	 */
	public int countAllMessageInfo(String userId);
	
	
	/**
	 * 更新用户消息为已读
	 * @param messageIdList
	 * @return
	 */
	public int updateMessageReadStatus(String messageId);
	
	
	/**
	 * 批量删除用户消息
	 * @param userId
	 * @return
	 */
	public int deleteMessageBatch(String userId);
}
